<?php 
require_once BASE_PATH.'application/models/basedao'.EXT;

class articuloDAO extends baseDAO {
	
    var $table = 'articulos';
    var $id    = 'articulo_k';

    function __construct()
    {
        // Call the Model constructor
        parent::__construct();
    }
    
    function _defaultSQL($default = 1) {
	
	if($default)
		$this->db->where('tipo','articulos');
	
        $this->db->where("activo", 1);
	
    }

	
}
?>